<?php if ($sf_user->isAuthenticated()): ?>
  <?php if ($success): ?>
    You have bidded successfully<br />
    Product ID: <?php echo $pid ?> <br />
  <?php else: ?>
    You do not have enough bid to bid on this product<br />
  <?php endif; ?>
<?php else: ?>
  You must login before bidding<br />
<?php endif; ?>
<hr />
<?php echo link_to("Back to list", "homepage");?>

